package com.polaris.live.popup

import android.content.Context
import com.lxj.xpopup.core.CenterPopupView
import com.polaris.live.R
import com.polaris.live.databinding.DialogGameTipsBinding

/**
 * 中间状态提示
 * @author Created by 天晴 on 2024/3/19 19:04
 * @since 1.0.0
 **/
class GameTipsPopup(
    context: Context,
    private val title: String,
    private val tips: String,
) : CenterPopupView(context) {
    override fun getImplLayoutId(): Int {
        return R.layout.dialog_game_tips
    }

    private lateinit var mBinding: DialogGameTipsBinding

    override fun onCreate() {
        super.onCreate()
        mBinding = DialogGameTipsBinding.bind(popupImplView)
        mBinding.tipsTv.text = tips
        mBinding.titleTv.text = title
    }

}